package com.ironmaking.Service.Interface;

import com.ironmaking.Entity.User;

import java.util.List;
import java.util.Optional;

/**
 * @Interface IUserService
 * @Description
 */
public interface IUserService {

    User getUserById(int id);

    Optional<User> getUserByEmail(String email);

    List<User> getUserByName(String name);

    User getUserByToken(String token);

    void saveUser(User user);

    void deleteUser(User user);

    void modifyUser(User user);
}
